<?php
header('Cache-Control: no-cache, must-revalidate');
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Content-type: application/json');
//require_once "json/JSON.php";
//$json = new Services_JSON();
//
////convert php object to json 
////$value = array('first' => 'Steven', 'last' => 'Spielberg', 'address' => '1234 Unlisted Drive');
////$output = $json->encode($value);
//$output = "{'labels':{'COL_CANCELED':'Cancelled','COL_REJECTED':'Rejected','COL_SEL':'In Creation','COL_FILLED':'Generated','COL_SENT':'To be approved','COL_WAIT':'In standby','COL_APPROVED':'Approved','COL_ORDER':'In Order','COL_VALIDATED':'Received','COL_CLOSED':'Closed'},'list':[{'COL_CANCELED':'0','COL_REJECTED':'3','COL_SEL':'31','COL_FILLED':'32','COL_SENT':'4','COL_WAIT':'0','COL_APPROVED':'19','COL_ORDER':'395','COL_VALIDATED':'93','COL_CLOSED':'46'}]}";
//
//print($output);
//
//
/*
require_once "json/JSON.php";
$json = new Services_JSON();

//convert php object to json
$value=array('labels'=>array('COL_CANCELED'=>'Cancelled'),'list'=>array('COL_CANCELED'=>'12'));
//$value = array('first' => 'Steven', 'last' => 'Spielberg', 'address' => '1234 Unlisted Drive');
$output = $json->encode($value);

print($output);
*/
?>
{"list":{"8":"Business Indicators","1":"Key indicator","9":"LDE","2":"List of data","3":"Master Data","5":"Purchasing Metrics","7":"Savings","6":"Supplier Metrics","4":"Vendor History"}}